<!-- Content Area -->
{literal}
<script>
 function checkFile() 
 {
	  var s = document.getElementById('file_source'); 
		if(null != s && '' == s.value) {
			alert('Define file name'); 
			s.focus(); 
			return false;
		}
		return true;
 }
</script> 
{/literal}
<div class="dma-thumbnail">
    <div class="content">
        <form name="frmAdmin" action="{$action}" method="post" enctype="multipart/form-data" onSubmit="return checkFile();">    
        <div class="header">
            
            <h1 class="page-title">Import: Newsletter Users</h1>
        </div>
        
        <ul class="breadcrumb">
            <li><a href="#">Home</a> <span class="divider">/</span></li>
            <li><a href="{$link_return}">Group</a> <span class="divider">/</span></li>
            <li class="active">Import</li>
        </ul>        
		{if $arrMsg}
        <div class="alert alert-success">
         <button class="close" data-dismiss="alert" type="button">×</button>
        {foreach from=$arrMsg item=item}
        	<div>{$item}</div>
        {/foreach}       
        </div>
        {/if}    
        <div class="container-fluid">
        	
            <div class="row-fluid">
                <div class="btn-toolbar">
                    <button  name="Go" class="btn btn-primary" type="submit"><i class="icon-save"></i> Import</button>
                    <a href="{$link_return}" data-toggle="modal" class="btn">Cancel</a>
                  <div class="btn-group">
                  </div>
                </div>
                <div class="well">
                    
                    <label>Source Excel file to import</label>
                    <input type="file" name="file_source" id="file_source" >
                	
                </div>                                                       
            </div>
            
        </div>
        </form>
    </div>
</div>
  
  <noscript>
  Warning! JavaScript must be enabled for proper operation of the Administrator backend.
  </noscript>
  <div class="clr"></div>
</div>
<!-- end of content -->

</div>
